﻿using System.Collections.Generic;
using yiCommerce.Core.Domain.Customers;

namespace yiCommerce.Core.Domain.Securitys
{
    public class PermissionRecord:BaseEntity
    {
        private ICollection<CustomerRole> _customerRoles;

        public virtual ICollection<CustomerRole> CustomerRoles
        {
            get { return _customerRoles ?? (_customerRoles = new List<CustomerRole>()); }
            protected set { _customerRoles = value; }
        }   

        public string SystemName { get; set; }
    }
}